package org.jeecg.modules.demo.hd.vo.total;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserGoldDetailViewVo implements Serializable {

    private String userId;

    @ApiModelProperty(value = "奖励名称")
    private String name;

    @ApiModelProperty(value = "奖励数量")
    private Float goldNum;

    @ApiModelProperty(value = "SDK名称")
    private String sdkName;

    @ApiModelProperty(value = "代码位ID")
    private String slotId;

    @ApiModelProperty(value = "请求唯一标识")
    private String requestId;

    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "奖励时间")
    private Date bonusTime;

    @ApiModelProperty(value = "代码位类型")
    private String ritType;

    @ApiModelProperty(value = "设备ID")
    private String deviceId;

    @ApiModelProperty(value = "ip地址")
    private String ip;
}
